POV-Ray : Newsgroups : povray.newusers : Extracting x value from a vector : Re: Extracting x value from a vector Server Time
6 Sep 2024 04:20:56 EDT (-0400)
  Re: Extracting x value from a vector  
From: Nieminen Mika
Date: 11 Feb 1999 14:57:50
Message: <36c3363e.0@news.povray.org>
Julius Klatte <jku### [at] hotmailcom> wrote:
: if you want the x, you can type Myvector.x (as Mike said).
: This is actually tha same as saying Myvector*<1,0,0>

  I dont think so.
  If Myvector is <2,3,4>, Myvector.x is the float value 2 while
Myvector*<1,0,0> is the vector value <2,0,0>.

-- 
main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
*_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.